package com.neusoft.neuiotms.dcvm.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcvm.dto.ModelDTO;

public interface ModelService {

    List<ModelDTO> findAll();

    ModelDTO details(final Long id);

    ModelDTO create(ModelDTO dto);

    ModelDTO update(Long id, ModelDTO dto);

    void delete(Long id);

    Page<ModelDTO> search(Pageable pageable, Searchable searchable);

    int upload(MultipartFile file);
}
